<div id="groups_overlay" class="overlay new-style" data-overlay="group_subscriptions">
    <div class="flex overlay-content">
        <div class="user-groups-container overlay-container">
            <div class="user-groups-header">
                <div class="fa fa-chevron-left"></div>
                <span class="user-groups-title">{{t 'User groups' }}</span>
                <div class="exit">
                    <span class="exit-sign">&times;</span>
                </div>
            </div>
            <div class="left">
                <div class="list-toggler-container">
                    <div id="add_new_user_group">
                        {{#if can_create_or_edit_user_groups}}
                        <button class="create_user_group_button create_user_group_plus_button">
                            <span class="create_button_plus_sign">+</span>
                        </button>
                        {{/if}}
                        <div class="float-clear"></div>
                    </div>
                </div>
                <div class="input-append group_name_search_section" id="group_filter">
                    <input type="text" name="group_name" id="search_group_name" class="filter_text_input" autocomplete="off"
                      placeholder="{{t 'Filter groups' }}" value=""/>
                    <button type="button" class="btn clear_search_button" id="clear_search_group_name">
                        <i class="fa fa-remove" aria-hidden="true"></i>
                    </button>
                </div>
                <div class="no-groups-to-show">
                    <div class="your_groups_tab_empty_text">
                        <span class="settings-empty-option-text">
                            {{t 'You are not a member of any user groups.'}}
                            <a href="#groups/all">{{t 'View all user groups'}}</a>
                        </span>
                    </div>
                    <div class="all_groups_tab_empty_text">
                        <span class="settings-empty-option-text">
                            {{t 'There are no user groups you can view in this organization.'}}
                            {{#if can_create_or_edit_user_groups}}
                                <a href="#groups/new">{{t 'Create a user group'}}</a>
                            {{/if}}
                        </span>
                    </div>
                </div>
                <div class="user-groups-list" data-simplebar data-simplebar-tab-index="-1">
                </div>
            </div>
            <div class="right">
                <div class="display-type">
                    <div id="user_group_settings_title" class="user-group-info-title">{{t 'User group settings' }}</div>
                </div>
                <div class="nothing-selected">
                    {{#if can_create_or_edit_user_groups}}
                    <button type="button" class="create_user_group_button animated-purple-button">{{t 'Create user group' }}</button>
                    <span class="settings-empty-option-text">
                        {{#tr}}
                            First time? Read our <z-link>guidelines</z-link> for creating user groups.
                            {{#*inline "z-link"}}<a href="/help/user-groups" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}
                        {{/tr}}
                    </span>
                    {{/if}}
                </div>
                <div id="user_group_settings" class="settings" data-simplebar data-simplebar-tab-index="-1" data-simplebar-auto-hide="false">
                    {{!-- edit user group here --}}
                </div>
                {{> user_group_creation_form }}
            </div>
        </div>
    </div>
</div>
